﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JBeamLibrary.VehicleParts.Elements
{
    public class BeamScales
    {
        #region Properties

        public float SpringScale { get; set; }

        public float DampScale { get; set; }

        public float DeformScale { get; set; }

        public float StrengthScale { get; set; }

        #endregion

        #region CTORs

        public BeamScales()
        {
            SpringScale = float.MinValue;
            DampScale = float.MinValue;
            DeformScale = float.MinValue;
            StrengthScale = float.MinValue;
        }

        public BeamScales(float spring, float damp, float deform, float strength)
        {
            SpringScale = spring;
            DampScale = damp;
            DeformScale = deform;
            StrengthScale = strength;
        }

        #endregion

        #region Methods

        public override string ToString()
        {
            return string.Format(
                "[spring scale:{0}, damp scale:{1}, deform scale:{2}, strength scale:{3}]",
                SpringScale, DampScale, DeformScale, StrengthScale
            );
        }

        #endregion
    }
}
